package com.gitee.target123.develop.mysql.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface InsertRedisLock {
    /**
     * redis锁key-前缀
     */
    String keyPrefix();

    /**
     * redis锁key-对象属性名
     */
    String keyProperty();
}
